﻿@model List<Event>

@{    
    Category category = ViewBag.Category;

    int index = 0;
}

<div class="row p-min">
    @foreach (Event item in Model)
    {
        index++;

        <div class="col-md-3">
            @Html.Action("_Item", new { eventt = item })
        </div>

        if (index % 4 == 0)
        {
            <div class="clearfix visible-lg visible-md"></div>
        }
        if (index % 2 == 0)
        {
            <div class="clearfix visible-sm visible-xs"></div>
        }
    }
</div>
